﻿using MediatRApp.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MediatRApp.IServices
{
    public interface IUserService
    {
        Task<int> CreateUserAsync(UserInfo user);

        Task<UserInfo> GetUserAsync(int userId);

        Task<List<UserInfo>> GetAllUsersAsync();
    }
}
